package com.stox.services.data.provider.repository;

import java.util.List;

import com.stox.services.data.provider.repository.file.ScripFileRepository;
import com.stox.shared.core.model.Scrip;
import com.stox.shared.core.model.filter.ScripCriteria;

public interface ScripRepository {
	
	ScripRepository INSTANCE = ScripFileRepository.INSTANCE;

	public Scrip findOne(Long id);
	
	public List<Scrip> findAll();
	
	public List<Scrip> findByScripCriteria(ScripCriteria scripFilter);
	
	public void clearSaveAndFlush(List<Scrip> scrips);
	
}
